/*****************************************************************************************
   
   Copyright (c) Microsoft Corporation. All rights reserved.

   Use of this code sample is subject to the terms of the Microsoft
   Permissive License, a copy of which should always be distributed with
   this file.  You can also access a copy of this license agreement at:
   http://www.microsoft.com/resources/sharedsource/licensingbasics/permissivelicense.mspx

 ****************************************************************************************/

using System;

namespace GrooveWebServicesV12Helpers
{
	public class Phone
	{
		private GrooveWebServicesV12Helpers.VCard m_VCard;

		private string m_PhoneNumber;
		private GrooveVCardWebService.PhoneType[] m_PhoneTypes;

		public Phone(GrooveWebServicesV12Helpers.VCard i_VCard, GrooveVCardWebService.Phone i_Phone)
		{
			m_PhoneNumber = i_Phone.PhoneNumber;
			m_PhoneTypes = i_Phone.PhoneTypes;

			m_VCard = i_VCard;
		}

		public string PhoneNumber
		{
			get
			{
				return m_PhoneNumber;
			}
		}

		public GrooveVCardWebService.PhoneType[] PhoneTypes
		{
			get
			{
				return m_PhoneTypes;
			}
		}

		public GrooveWebServicesV12Helpers.VCard VCard
		{
			get
			{
				return m_VCard;
			}
		}
	}
}
